package com.runtime.hongyunmanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.runtime.hongyunmanage.bean.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<Users> {
    List<Users> findUsersByCondition(@Param("pageSize") int pageSize, @Param("offset") int offset, @Param("users") Users users);
    int CountUsers(Users users);

    boolean existsByUsername(String username);
}
